// 配置文章表
const { Sequelize, Model } = require('sequelize')
const { sequelize } = require('../../config/db')
class Article extends Model{
}
Article.init({
	title: Sequelize.STRING,
	profile: Sequelize.STRING,
	thumbnail_url: Sequelize.STRING,
	content: Sequelize.STRING,
	channel_id: Sequelize.TINYINT,
	status: Sequelize.TINYINT,
	identifying_id: Sequelize.TINYINT,
},{
  sequelize,
  tableName: 'article'
})
module.exports = {
  Article
}